package com.eds.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class AppointmentRequestDTO {
    private Long scheduleId;
    //预约日期必须是今天或未来日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date appointmentDate;
    @JsonFormat(pattern = "HH:mm:ss")
    private Date startTime;
    @JsonFormat(pattern = "HH:mm:ss")
    private Date endTime;

}